Package pl.wendigo.chrome.api.profiler

Contains DevTools Protocol Profiler domain implementation accessible via ProfilerDomain class.

Types

ConsoleProfileFinishedEvent
Link copied to clipboard
data class ConsoleProfileFinishedEvent(id: String, location: Location, profile: Profile, title: String?) : Event
ConsoleProfileStartedEvent
Link copied to clipboard
data class ConsoleProfileStartedEvent(id: String, location: Location, title: String?) : Event
Sent when new profile recording is started using console.profile() call.
CounterInfo
Link copied to clipboard
data class CounterInfo(name: String, value: Int)
Collected counter information.
CoverageRange
Link copied to clipboard
data class CoverageRange(startOffset: Int, endOffset: Int, count: Int)
Coverage data for a source range.
FunctionCoverage
Link copied to clipboard
data class FunctionCoverage(functionName: String, ranges: List<CoverageRange>, isBlockCoverage: Boolean)
Coverage data for a JavaScript function.
GetBestEffortCoverageResponse
Link copied to clipboard
data class GetBestEffortCoverageResponse(result: List<ScriptCoverage>)
Represents response frame that is returned from Profiler#getBestEffortCoverage operation call.
GetCountersResponse
Link copied to clipboard
data class GetCountersResponse(result: List<CounterInfo>)
Represents response frame that is returned from Profiler#getCounters operation call.
GetRuntimeCallStatsResponse
Link copied to clipboard
data class GetRuntimeCallStatsResponse(result: List<RuntimeCallCounterInfo>)
Represents response frame that is returned from Profiler#getRuntimeCallStats operation call.
PositionTickInfo
Link copied to clipboard
data class PositionTickInfo(line: Int, ticks: Int)
Specifies a number of samples attributed to a certain source position.
PreciseCoverageDeltaUpdateEvent
Link copied to clipboard
data class PreciseCoverageDeltaUpdateEvent(timestamp: Double, occassion: String, result: List<ScriptCoverage>) : Event
Reports coverage delta since the last poll (either from an event like this, or from takePreciseCoverage for the current isolate.
Profile
Link copied to clipboard
data class Profile(nodes: List<ProfileNode>, startTime: Double, endTime: Double, samples: List<Int>?, timeDeltas: List<Int>?)
Profile.
ProfileNode
Link copied to clipboard
data class ProfileNode(id: Int, callFrame: CallFrame, hitCount: Int?, children: List<Int>?, deoptReason: String?, positionTicks: List<PositionTickInfo>?)
Profile node.
ProfilerDomain
Link copied to clipboard
class ProfilerDomain : Domain
ProfilerDomain represents Profiler protocol domain request/response operations and events that can be captured.
RuntimeCallCounterInfo
Link copied to clipboard
data class RuntimeCallCounterInfo(name: String, value: Double, time: Double)
Runtime call counter information.
ScriptCoverage
Link copied to clipboard
data class ScriptCoverage(scriptId: ScriptId, url: String, functions: List<FunctionCoverage>)
Coverage data for a JavaScript script.
ScriptTypeProfile
Link copied to clipboard
data class ScriptTypeProfile(scriptId: ScriptId, url: String, entries: List<TypeProfileEntry>)
Type profile data collected during runtime for a JavaScript script.
SetSamplingIntervalRequest
Link copied to clipboard
data class SetSamplingIntervalRequest(interval: Int)
Represents request frame that can be used with Profiler#setSamplingInterval operation call.
StartPreciseCoverageRequest
Link copied to clipboard
data class StartPreciseCoverageRequest(callCount: Boolean?, detailed: Boolean?, allowTriggeredUpdates: Boolean?)
Represents request frame that can be used with Profiler#startPreciseCoverage operation call.
StartPreciseCoverageResponse
Link copied to clipboard
data class StartPreciseCoverageResponse(timestamp: Double)
Represents response frame that is returned from Profiler#startPreciseCoverage operation call.
StopResponse
Link copied to clipboard
data class StopResponse(profile: Profile)
Represents response frame that is returned from Profiler#stop operation call.
TakePreciseCoverageResponse
Link copied to clipboard
data class TakePreciseCoverageResponse(result: List<ScriptCoverage>, timestamp: Double)
Represents response frame that is returned from Profiler#takePreciseCoverage operation call.
TakeTypeProfileResponse
Link copied to clipboard
data class TakeTypeProfileResponse(result: List<ScriptTypeProfile>)
Represents response frame that is returned from Profiler#takeTypeProfile operation call.
TypeObject
Link copied to clipboard
data class TypeObject(name: String)
Describes a type collected during runtime.
TypeProfileEntry
Link copied to clipboard
data class TypeProfileEntry(offset: Int, types: List<TypeObject>)
Source offset and types for a parameter or return value.